Security News
NVD Backlog Tops 20,000 CVEs Awaiting Analysis as NIST Prepares System Updates
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
@testim/chrome-version
Advanced tools
Finds the version of Chrome that is installed on your machine
@testim/chrome-version is an npm package that allows you to programmatically determine the version of Google Chrome installed on your system. This can be particularly useful for automated testing, CI/CD pipelines, and other scenarios where knowing the browser version is crucial.
Get Chrome Version
This feature allows you to get the installed version of Google Chrome. The code sample demonstrates how to use the package to fetch and log the Chrome version.
const chromeVersion = require('@testim/chrome-version');
chromeVersion().then(version => {
console.log(`Chrome version: ${version}`);
}).catch(err => {
console.error('Error fetching Chrome version:', err);
});
chrome-launcher is a package that not only helps in launching Google Chrome but also provides functionality to get the installed Chrome version. It is more feature-rich compared to @testim/chrome-version as it includes capabilities to launch Chrome with specific flags and configurations.
Puppeteer is a Node library which provides a high-level API to control Chrome or Chromium over the DevTools Protocol. While its primary use case is for browser automation, it also includes methods to fetch the browser version. Puppeteer is more comprehensive and is used for end-to-end testing and web scraping.
chrome-finder is a package that helps in finding the path to the Chrome executable on different operating systems. It also provides functionality to get the Chrome version. It is similar to @testim/chrome-version but focuses more on locating the Chrome executable.
Finds the version of Chrome (or Chromium) that is installed on your machine.
npm install @testim/chrome-version
(async () => {
const { getChromeVersion } = require('@testim/chrome-version');
const includeChromium = false; // NOTE: set to true to also search for Chromium
const version = await getChromeVersion(includeChromium);
console.log(version);
})();
npm test
getChromeVersion
will return null.FAQs
Finds the version of Chrome that is installed on your machine
The npm package @testim/chrome-version receives a total of 466,217 weekly downloads. As such, @testim/chrome-version popularity was classified as popular.
We found that @testim/chrome-version demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.